<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../css/shouye/login.css">
</head>
<body>
<div class="wrap">
<!--    <img src="../images/aa.jpg" class="imgStyle">-->
    <div class="loginForm">
        <form id="form-login" action="/goLogin" method="post">
            <div class="logoHead">
                <h2>思云课堂后台业务管理系统</h2>
                <h5>&nbsp;&nbsp;&nbsp;&nbsp;Business Management System</h5>
            </div>
<!--            账号-->
            <label id="ts" style="color: red" th:if="${param.error}" th:text="账号或密码错误"></label>
            <label id="tt" style="color: red" th:if="${param.err}" th:text="验证码错误"></label>
            <div class="usernameWrapDiv">
                <div class="usernameLabel">
                    <label>用户名:</label>
                </div>
                <div class="usernameDiv">
                    <i class="layui-icon layui-icon-username adminIcon"></i>
                    <input id="loginUsername" class="layui-input adminInput" type="text" name="username" placeholder="输入用户名" >
                </div>
            </div>
<!--            密码-->
            <div class="usernameWrapDiv">
                <div class="usernameLabel">
                    <label>密码:</label>
                </div>
                <div class="passwordDiv">
                    <i class="layui-icon layui-icon-password adminIcon"></i>
                    <input id="loginPassword" class="layui-input adminInput" type="password" name="password" placeholder="输入密码">
                </div>

            </div>
            <!--验证码-->
            <div class="usernameWrapDiv" id="kaptchaKK">
                <div class="usernameLabel" id="kaptchaK">
                    <input name="captcha" id="kaptcha" placeholder="请输入验证码"/>
                </div>
                <div>
                    <img id="captchaPic" src="/kaptcha"  />
                </div>
            </div>
            <div class="aa">
                <div>
                    <input  id="btn-login" class="btn btn-primary" type="submit" value="登录" />
                </div>
            </div>

            <!--改了   手机号登录   注册-->
            <div class="layui-form-item layui-row" id="qw">
                <div class="layui-col-xs4 layui-col-xs-offset4" style="width: 400px;margin-left: 0px;" >
                    <span><a href="pages/registerpage/phonelogin.html">手机号登录</a></span>
<!--                    <span id="zc">没有账号？<a href="/pages/registerpage/register.html" class="newlogin">去注册</a></span>-->
                </div>
            </div>
        </form>
    </div>
</div>
</body>
<script src="../layui/layui.js" type="text/javascript"></script>
<script src="../js/jquery-3.6.0.js"></script>
<script src="../js/shouye/login.js"></script>
</html>
